package com.gjr.eduservice.client;

import com.gjr.commonutils.Result;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 呙境仁
 * @create 2022-11-29 14:24
 */

@Component
public class VodFileDegradeFeginClient implements VodClient {
    //出错之后会执行

    @Override
    public Result<?> removeAlyVideo(String id) {
        return Result.error().message("removeAlyVideo time out");
    }

    @Override
    public Result<?> deleteBatch(List<String> videoIdList) {
        return Result.error().message("deleteBatch time out");
    }
}
